<div class="col_02" id="rightside">
	<div class="col_02_01" id="sysContent_box">
		<div class="main-wrap">
			<div class="m-t">
				<h2>My Jobs</h2>
			</div>
			<div class="m-c">
				  <h5><a href="mypostjobs.php">Jobs Created by Me ({$postnum})</a>{if $smarty.session.status == 'Premium'}&nbsp;&nbsp;&nbsp;<a href="mysubmitjobs.php">Submitted Jobs ({$submitnum})</a>{/if}{if $smarty.session.usertype == 'recruiter'}&nbsp;&nbsp;&nbsp;<a href="mycontactjobs.php">Submit Status: Jobs I Can Submit Candidates To ({$contactnum})</a>{/if}</h5>
					<br />
				 <h2>Jobs Created by Me</h2>
				   <h5><form method="GET" action="mypostjobs.php">Job Keywords : <input  type="text" name="keywords" size="30" maxlength="200" value="" ><input type="hidden" name="action" value="search"> <input type="submit" value= " Search" class="button-secondary">&nbsp;&nbsp;<input type="reset" value= " Reset " class="button-secondary"> 
				   </form></h5>
			</div>
	</div>
</div>
<div class="col_02_02" id="side_box">
	<div class="signIn">
		<h2 class="m_t m_t_gray">Member  Center</h2>
		<div class="m_c">
			<div class="mySigned" id="J_sign_form">
				<div id="loginboxx">
					<p class="info">Welcome, <span class="u_name">{$uname}</span>!</p>
					<p class="lnk_panel"><a href="settings.php" class="lnk_arrow">My Account</a></p>
					
					<p class="lnk_panel"><a href="#" onclick="return ajax_out()" class="lnk_arrow">Sign Out</a><div id="loadp"></div></p>
				</div>
			</div>
		</div>
		<div class="m_f"></div>
	</div>
</div>

<div class="module_box mt_10" id="findResults">
	<div class="m_c">
	<form method="POST" action="?action=del" onsubmit="return checkdelall()">
         {$page}
	  <table width="100%" border="0" cellpadding="4" cellspacing="1" class="tableGrey">
              <tr class="white">
	        <th><a href="myjobs.php?&order1={$order_arr.1}&swh=1&tp=1" >ER Job Req#{$image_arr.1}</a></th>
                <th><a href="myjobs.php?&order3={$order_arr.3}&swh=3&tp=1" >Create Date{$image_arr.3}</a></th>
                <th><a href="myjobs.php?&order2={$order_arr.2}&swh=2&tp=1" >Post to Network{$image_arr.2}</a></th>
				<th><a href="myjobs.php?&order4={$order_arr.4}&swh=4&tp=1" >Job Status{$image_arr.4}</a></th>
		<th width="25%"><a href="myjobs.php?&order5={$order_arr.5}&swh=5&tp=1" >Job Title{$image_arr.5}</a></th>
		{if $utype=="recruiter"}
		<th><a href="myjobs.php?&order7={$order_arr.7}&swh=7&tp=1" >Applicants Received{$image_arr.7}</a></th>
		{/if}
		<th>{if $utype=="recruiter"}Recruiter Messages{else}Inbox{/if}</th>
		<th>Approved Recruiters</th>
		<th>Select <input value="Delete" type="submit" name="delete" class="button-secondary"></th>
              </tr>
	      {section name=custom loop=$joblist}
              <tr  class="hotline {cycle values="odd,even"}">
				<td><a href="jobaction.php?action=view&id={$joblist[custom].jo_id}">{$joblist[custom].jo_id}</a></td>
				<td>{$joblist[custom].jo_regtime}</td>
				<td>{$joblist[custom].jo_posttonetwork}</td>
				<td>{$joblist[custom].jo_status}</td>
                <td>{$joblist[custom].jo_title}</td>
		{if $utype=="recruiter"}
		<td>{if $joblist[custom].jo_applicants!=0}<a href="applicantlist.php?&id={$joblist[custom].jo_id}&tpp=posted">{$joblist[custom].jo_applicants}</a>{else}0{/if}</td>
		{/if}
		<td>{if $joblist[custom].jo_contacts!=0}<a href="contactlist.php?&id={$joblist[custom].jo_id}&tpp=posted">{$joblist[custom].jo_contacts}</a>{else}0{/if}</td>
		<td>{if $joblist[custom].jo_approved!=0}<a href="contactapproved.php?&id={$joblist[custom].jo_id}&tpp=posted">{$joblist[custom].jo_approved}</a>{else}0{/if}&nbsp;&nbsp;&nbsp;<a href="addrecruiter.php?id={$joblist[custom].jo_id}">[add]</a></td>
		<td><a href="jobedit.php?action=edit&id={$joblist[custom].jo_id}">[edit]</a>{if $joblist[custom].candel ==1}<input type="checkbox" name="del[]" value="{$joblist[custom].jo_id}" >{else}
				<a href="###" onmouseover="Tip('Jobs with applicants or messages cannot be deleted.', WIDTH, 200,OFFSETY,20, SHADOW, true)"><img src="images/icn_question.jpg" border="0" align="absmiddle" /></a>
				{/if}</td>
              </tr>
	      {sectionelse}
               <tr  class="hotline {cycle values="odd,even"}">
                <td colspan="9"><font color=red>No data was found for selected field(s).<br>  Try again.  Please note 'Select All' will search for all available data in that field.</font></td>
               </tr>
	      {/section}
     </table>
  </form>
</div>
<div>
	<p> <a href="mypostjobs.php">View All</a> </p>
</div>
</div>

{if $smarty.session.status == 'Premium'}
<div class="module_box mt_10" id="findResults">
   <div class="m-c"><a name="li"></a><h2>Submitted Jobs</h2>
   <h5><form method="GET" action="mysubmitjobs.php">Job Title : <input  type="text" name="title" size="30" maxlength="200" value="" > <input type="submit" value= " Search" class="button-secondary"> &nbsp;&nbsp;<input type="reset" value= " Reset " class="button-secondary"><input type="hidden" name="action" value="search">
   </form><br /></h5>
	{$page2}
	<table width="100%" border="0" cellpadding="4" cellspacing="1" class="tableGrey">
		  <tr class="white">
			 <th><a href="myjobs.php?&order1={$order_arr2.1}&swh=1&tp=2" >ER Job Req#{$image_arr2.1}</a></th>
			 <th width="15%"><a href="myjobs.php?&order2={$order_arr2.2}&swh=2&tp=2" >Date/Time Submitted{$image_arr2.2}</a></th>
			<th width="25%"><a href="myjobs.php?&order3={$order_arr2.3}&swh=3&tp=2" >Job Title{$image_arr2.3}</a></th>
			<th><a href="myjobs.php?&order4={$order_arr2.4}&swh=4&tp=2" >Company{$image_arr2.4}</a></th>
			<th><a href="myjobs.php?&order5={$order_arr2.5}&swh=5&tp=2" >Job Status{$image_arr2.5}</a></th>
			<th><a href="myjobs.php?&order6={$order_arr2.6}&swh=6&tp=2" >Compensation {$image_arr2.6}</a></th>
			<th width="10%"><a href="myjobs.php?&order7={$order_arr2.7}&swh=7&tp=2" >Applicant Submitted{$image_arr2.7}</a></th>
		  </tr>
	  {section name=custom loop=$joblist2}
		  <tr  class="hotline {cycle values="odd,even"}">
			<td><a href="jobaction.php?action=view&view=op&id={$joblist2[custom].app_jobid}">{$joblist2[custom].app_jobid}</a></td>
			<td>{$joblist2[custom].app_regtime}</td>
			<td>{$joblist2[custom].title}</td>
			<td>{$joblist2[custom].jo_copname}</td>
			<td>{$joblist2[custom].status}</td>
			<td>{$joblist2[custom].jo_salrange}</td>
			<td><a href="applicantlist.php?id={$joblist2[custom].jo_id}">{$joblist2[custom].jo_applicants}</a></td>
		  </tr>
	  {sectionelse}
		   <tr  class="hotline {cycle values="odd,even"}">
			<td colspan="7"><font color=red>No data was found for selected field(s).<br>  Try again.  Please note 'Select All' will search for all available data in that field.</font></td>
		   </tr>
	  {/section}
	  </table>
</div>
<div>
<p> <a href="mysubmitjobs.php">View All</a> </p>
</div>
</div>
{/if}
{if $smarty.session.usertype == 'recruiter'}
<div class="module_box mt_10" id="findResults">

   <div class="m-c">
   <h2><a name="lii"></a>Submit Status: Jobs I Can Submit Candidates To</h2>
   <h5><form method="GET" action="mycontactjobs.php">Job Title : <input  type="text" name="title" size="30" maxlength="200" value="" > <input type="submit" value= " Search" class="button-secondary"> &nbsp;&nbsp;<input type="reset" value= " Reset " class="button-secondary"><input type="hidden" name="action" value="search">
   </form><br /></h5>
 {$page3}
	<table width="100%" border="0" cellpadding="4" cellspacing="1" class="tableGrey">
              <tr class="white">
				 <th><a href="myjobs.php?&order1={$order_arr3.1}&swh=1&tp=3" >ER Job Req#{$image_arr3.1}</a></th>
                 <th width="15%"><a href="myjobs.php?&order2={$order_arr3.2}&swh=2&tp=3" >Date Sent{$image_arr3.2}</a></th>
				<th width="25%"><a href="myjobs.php?&order3={$order_arr3.3}&swh=3&tp=3" >Job Title{$image_arr3.3}</a></th>
				<th><a href="myjobs.php?&order4={$order_arr3.4}&swh=4&tp=3" >Job Poster{$image_arr3.4}</a></th>
				
				<th><a href="myjobs.php?&order6={$order_arr3.6}&swh=6&tp=3" >Approval Status{$image_arr3.6}</a></th>
				<th width="10%"><a href="myjobs.php?&order7={$order_arr3.7}&swh=7&tp=3" >Messages Sent{$image_arr3.7}</a></th>
				<th width="10%">Candidates Submitted</th>
              </tr>
	      {section name=custom loop=$joblist3}
              <tr  class="hotline {cycle values="odd,even"}">
	        <td><a href="jobaction.php?action=view&view=op&id={$joblist3[custom].re_aliasid}">{$joblist3[custom].re_aliasid}</a></td>
		<td>{$joblist3[custom].re_regtime}</td>
		<td>{$joblist3[custom].title}</td>
		<td>{$joblist3[custom].jo_copname}</td>
        
		<td>{if $joblist3[custom].re_isapproved > 0 && $joblist3[custom].jo_status <> 3}
			{if $u_status == 'Trial'}
			<a href="#inline1" class="upgrade1">Submit</a>
			{else}
			Approved <a href="submitapplicant.php?jid={$joblist3[custom].re_aliasid}">[<font color="blue">Submit</font>]</a>
			{/if}
		{elseif $joblist3[custom].jo_status == 3}
		CLOSED
		{else}
		Pending
		{/if}</td>
                <td><a href="contactlist.php?id={$joblist3[custom].jo_id}">{$joblist3[custom].jo_applicants}</a></td>
                <td>{$joblist3[custom].appcount}</td>
              </tr>
	      {sectionelse}
               <tr  class="hotline {cycle values="odd,even"}">
                <td colspan="7"><font color=red>No data was found for selected field(s).<br>  Try again.  Please note 'Select All' will search for all available data in that field.</font></td>
               </tr>
	      {/section}
          </table>
</div>
<div>
<p> <a href="mycontactjobs.php">View All</a> </p>
</div>
</div>
{/if}
	</div>
				</div>
			</div>
		</div>
	</div>
</section>